﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Clipper.Converters
{
    /// <summary>
    /// 反应条回收仓
    /// </summary>
    public class RecycleStateConverter:AbstractConverters
    {
        public override object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {

            switch (value.ToString())
            {
                case "NORMAL":
                    return "/Clipper;component/Skin/Icon/反应条回收仓状态.png";
                case "ERROR":
                    return "/Clipper;component/Skin/Icon/反应条回收仓状态1.png";
                case "ALERT":
                    return "/Clipper;component/Skin/Icon/反应条回收仓状态2.png";
                default:
                    return "/Clipper;component/Skin/Icon/反应条回收仓状态.png";
            }
        }

    }
}
